home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 21
/
Cream of the Crop 21 (Terry Blount) (October 1996).iso
/
bbs
/
pad311.zip
/
SETTINGS.MH
< prev
next >
Wrap
Text File
|
1996-08-26
|
26KB
|
566 lines
// ---------------------------------------------------------------------------
// S E T T I N G S . M H
// ---------------------------------------------------------------------------
//
// This file controls the behaviour of the Padlock call back verifier. This
// file replaces the file PADLOCK.CTL which was included with version 1.xx
// In order for the settings in this file to take effect, you must recompile
// the .MEX files by running the BUILD batch file in your padlock directory.
// UNTIL YOU RUN BUILD, THE CHANGES YOU MAKE TO THIS FILE WILL HAVE NO EFFECT.
//
// See also the file INSETUP.MH for settings which control the behaviour of
// the input/output routines.
//
// About this version --------------------------------------------------------
//
// This file is NOT fully compatible with previous versions of padlock. If
// you are upgrading from a previous version, you will have to manually
// edit this file - you cannot simply copy your old file over this one.
//
// New keywords since version 2.03:
//
// File and pathnames:
//
// log_file
// message_file_directory
// abort_file
// success_hangup_file
// bad_baudrate_file
// bad_baudrate_attempt_file
// bad_time_file
//
// Settings:
//
// num_update_city
// num_baudrate_check_behaviour
// num_codeword_length
// flg_use_codeword
//
// Various display keywords
//
//
// Keywords removed since version 2.03:
//
// unknown_phone_file
//
// Various display keywords
//
// The "Sysop display" section was added in version 3.10.
//
// File format ----------------------------------------------------------------
//
// All lines beginning with "#define" specify a keyword which controls some
// aspect of the verifier's behaviour. Immediately following the #define
// statement is the keyword being declared. Unlike previous versions of Padlock
// which used PADLOCK.CTL, all keywords are case sensitive. After the keyword
// is the setting for that keyword. Note that lines containing keywords MAY NOT
// contain comments. It does not matter what order the keywords in this file
// appear.
//
// Most settings are either numeric, boolean, or strings. Numeric settings
// are simply numbers. Boolean settings must either contain the text "True" or
// "False" without the double quotes. (Capitalization of the 'T' in True and
// the 'F' in False is important). String settings must be enclosed in double
// quotes.
// The following two lines ensure that this file will only be compiled once.
// Don't modify them!
#ifndef __SETTINGS_MH
#define __SETTINGS_MH
// ---------------------------------------------------------------------------
// F I L E N A M E S
// ---------------------------------------------------------------------------
//
// This section defines the names of all files used by Padlock. Note that all
// backslashes MUST be escaped. That is, wherever you'd normally use one
// backslash, you must use two. For example, to enter the path:
//
// c:\max\padlock
//
// You'd need to enter the string:
//
// c:\\max\\padlock
//
// All path names are given with respect to the main maximus directory. If
// no path is specified, then the file will be searched for in the main max
// directory.
//
// phoneTempFile specifies the filename of the temporary file
// generated by getphone.
#define phoneTempFile ("getphone." + strpadleft (itostr (id.task_num), 3, '0'))
// checkNumTempFile specifies the filename of the temporary file
// generated by checknum.
#define checkNumTempFile ("checknum." + strpadleft (itostr (id.task_num), 3, '0'))
// phone_file specifies the name of the file where Padlock will
// find information about your local calling area. By default,
// this file is located in the same directory as the rest of the
// padlock files.
#define phone_file "padlock\\phone.ctl"
// log_file defines the name of a file where Padlock will write one
// line for every verification attempt, describing its result.
// This file is optional. If empty quotes are specified, no log
// file will be written.
#define log_file ("padlock\\logfile." + strpadleft (itostr (id.task_num), 3, '0'))
//#define log_file ""
// .BBS files --------------------------------------------------------
//
// The following keywords specify the name of .BBS files (without
// the .BBS extension) that padlock displays at different times.
// Many of these files are optional. If an optional filename is
// left blank, a standard message will be displayed to the user
// instead of the .BBS file.
// message_file_directory specifies the directory where all the Padlock
// *.MEC and *.BBS files can be found. By default, all of these files
// are kept in a directory within your main Maximus directory called
// "padlock". If you wish to move these files, change this directory
// name.
#define message_file_directory "padlock"
// long_distance_file is displayed to users calling from long distance
// numbers at which verifications are not allowed.
#define long_distance_file "ld"
// dupe_found_file is displayed when a user enters a phone number that
// is already being used by another user.
#define dupe_found_file "dupe"
// lockout_file is displayed if a user enters a number which has been
// locked out.
#define lockout_file "lockout"
// local_file is displayed to all users whose phone numbers are
// detected as local calls.
#define local_file "local"
// ld_ok_file is displayed to all users who have entered a long
// distance number which is considered valid for verification.
#define ld_ok_file "ldok"
// One (and only one) of the following three files will be
// displayed to the user at the end of each verification attempt.
//
// success_file displayed to the user after a sucessful
// verification.
//
// fail_file displayed to the user if the verification
// was unsuccessful for watever reason.
//
// abort_file displayed if the user aborted the
// verification.
//
#define success_file "success"
#define fail_file "fail"
#define abort_file "abort"
#define welcome_back_file "back"
#define bad_code_file "badcode"
#define bad_password_file "badpwd"
#define hangup_ld_file "byesucc"
#define success_hangup_file "byesucc"
#define help_file "cbvhelp"
#define bad_baudrate_file "badbaud"
#define bad_baudrate_attempt_file "badbaud2"
//#define bad_time_file "badtime"
#define bad_time_file ""
// ---------------------------------------------------------------------------
// S E T T I N G S
// ---------------------------------------------------------------------------
//
// This section controls the behaviour of padlock.
//
// Boolean settings --------------------------------------------------
//
// The following settings may be set to either True or False.
//
// if num_dupes is set to True, Padlock will not call back a user
// if his/her phone number is already being used by another user.
#define num_dupes True
// num_registered_dupes modifies the behaviour of check_dupes -
// if set to True, Padlock will on